package com.design.pattern.factory;

public class FactoryTest {

    public static void main(String[] args) {
        PizzaStore pizzaStore  = new NYPizzaStore();
        pizzaStore.orderPizza("cheese");
        pizzaStore = new ChicagoPizzaStore();
        pizzaStore.orderPizza("chees");
    }
}